package com.source.baseData.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Joey
 * @since 2021-02-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="SlaughterHousePoultry对象", description="")
public class SlaughterHousePoultry implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "poultryId", type = IdType.AUTO)
    private String poultryId;

    @ApiModelProperty(value = "所属屠宰场id")
    @TableField("slaughterHouseId")
    private String slaughterHouseId;

    @TableField("timeVersion")
    private String timeVersion;

    @ApiModelProperty(value = "是否更新（0：否，1：是）")
    @TableField("isUpdate")
    private String isUpdate;

    @ApiModelProperty(value = "更新版本号")
    @TableField("updateVersion")
    private String updateVersion;

    @ApiModelProperty(value = "0：未删除，1：已删除")
    @TableField("isDelete")
    @TableLogic
    private Boolean isDelete;

    @ApiModelProperty(value = "更新时间")
    @TableField(value = "updateDate", fill = FieldFill.UPDATE)
    private Date updateDate;


}
